Q3Group_GetPositionObject
You can use theQ3Group_GetPositionObject
function to get the object located at a certain position in a group.
TQ3Status Q3Group_GetPositionObject ( TQ3GroupObject group, TQ3GroupPosition position, TQ3Object *object);
group
- A group.
position
- A group position.
object
- On exit, a reference to a QuickDraw 3D object.
DESCRIPTION
TheQ3Group_GetPositionObject
function returns, in theobject
parameter, a reference to the object having the position specified by theposition
parameter in the group specified by thegroup
parameter. The reference count of the returned object is incremented. If an error occurs when getting the object,Q3Group_GetPositionObject
returnsNULL
.ERRORS
kQ3ErrorInvalidObject
kQ3Error_InvalidPositionForGroup
kQ3Error_NULLParameter